cmake_minimum_required(VERSION 3.7.2)
project(camclb)

add_library(camclb source/CameraCalibrator.cpp include/CameraCalibrator.h)
add_executable(calibrate source/calibrate.cpp)
find_package(OpenCV REQUIRED)
target_link_libraries(camclb ${OpenCV_LIBS})
target_link_libraries(calibrate camclb ${OpenCV_LIBS})